module.exports = {
	lintOnSave: process.env.NODE_ENV === 'development',
	devServer: {
		proxy: {
			'/loan': {
				target: 'https://api.funpera.xyz/oldcwallet',
				changeOrigin: true,
				pathRewrite: {
					'^/loan': '',
				}
			}
		},
		overlay: {
			warnings: false,
			errors: true,
		},
	},
	publicPath: './',
};